package com.xinyi;

/**
 * @desc:
 * @author: Shoko
 * @date: 2025/3/13
 */
public class Client {
    public static void main(String[] args) {
        // 实例化黑色小号笔
        Pen blackSmallPen = new Pen(new BlackColor(), new SmallSize());
        blackSmallPen.draw();

        // 实例化红色中号笔
        Pen redMiddlePen = new Pen(new RedColor(), new MiddleSize());
        redMiddlePen.draw();

        // 实例化蓝色大号笔
        Pen blueLargePen = new Pen(new BlueColor(), new LargeSize());
        blueLargePen.draw();
    }
}
